package com.sunsharing.transport;

import com.sunsharing.common.URL;
import com.sunsharing.common.mailbox.QueueHandle;
import com.sunsharing.transport.IoHandle;

/**
 * 所有TransportServer都实现该接口
 * User: criss
 * Date: 13-3-31
 * Time: 下午4:18
 * To change this template use File | Settings | File Templates.
 */
public interface Server {
    void startServer(URL url,IoHandle ioHandle);
    void stopServer();
}
